package cn.stylefeng.guns.sys.core.util.utility;

/**
 * @Author : xiaofei
 * @Date: 2019/6/30
 */
public enum StatusCode {

    PENDING(0, "待审核"),
    SUCCESS(1,"审核成功"),
    FAIL(2,"审核失败"),
    BACK(3,"退回"),
    INDENTSUCCESS(4, "订单人员审核通过"),
    MAINSUCESS(5,"财务人员审核通过"),
    BOSS(6,"主管审核通过"),
    WARE(7,"仓库员审核通过"),

    NODE1(1,"经销商节点"),
    NODE2(2,"订单人员节点"),
    mode3(3,"主管人员节点"),
    mode4(4,"仓管人员节点"),
    DOING(1,"订单正在进行"),
    DONE(2,"订单已完成"),

    DEFAULTVALUE(0,"默认值"),


    /*------销售单审核流程---------*/
    SALSPENDING(0,"普通提交待审核"),
    SALSSUCESS(1,"普通提交审核通过"),
    SALSFAIUL(2,"普通提交不通过"),
    SALSRETRUN(3,"普通提交退回"),
    SPECIALPENDIG(4,"特价提交待审核"),
    SPECIALSUCESS(5,"特价提交审核通过"),
    SPECIALFAIUL(6,"特价提交审核失败"),
    SPECIALRETURN(7,"特价提交审核退回"),

    /*--------订货状态-------------------*/
    PENDINGSEND(0,"待发货"),
    SENDHAVADOING(1,"发货完成"),
    RECIEVE(2,"收货完成");

    public Integer getVal() {
        return val;
    }

    public void setVal(Integer val) {
        this.val = val;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    StatusCode(Integer val, String message) {
        this.val = val;
        this.message = message;
    }

    Integer val;
    String message;



}
